package com.heima.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.article.dtos.ApArticleHomeDTO;
import com.heima.model.article.pojos.ApArticle;
import com.heima.model.common.dtos.ResponseResult;

public interface IApArticleService extends IService<ApArticle> {

    /**
     * 处理文章发布
     * @param newsId
     */
    public void publishArticle(Integer newsId);

    /**
     * APP 端-首页加载时渲染-根据频道查询 APP 端文章列表
     * @param apArticleHomeDTO
     * @return
     */
    public ResponseResult findArticlesByChannel(ApArticleHomeDTO apArticleHomeDTO);

}
